package com.eshop.modules.monitor.service.mapper;

import org.apache.ibatis.annotations.Select;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.eshop.modules.monitor.domain.Visits;
import com.eshop.common.mapper.CoreMapper;

@Repository
public interface VisitsMapper extends CoreMapper<Visits>
{
    @Select({ "select * FROM visits where create_time between #{time1} and #{time2}" })
    List<Visits> findAllVisits(@Param("time1") final String time1, @Param("time2") final String time2);
}
